﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Program
    {
        static void Main(string[] args)
        {
            string i = "我,爱,学,习";

            string j = "也爱玩游戏";

            string[] a = i.Split(',');

            string[] b = j.Split(new char[] { '玩' });

            foreach (string s in a)
            {
                Console.WriteLine(s);
            }
            foreach (string s in b)
            {
                Console.WriteLine(s);
            }
        }
    }
}
